'use strict';
const 
Koa = require('koa'),
template = require('./templating'),
staticServer = require('koa-static'),
bodyParser = require('koa-bodyparser'),
controllers = require('./controllers'),
app = new Koa();

app.use(staticServer(__dirname+'/static'));
// app.use(template);
app.use(bodyParser());
app.use(controllers());







app.listen(8001,()=>{
    console.log("http://localhost:8001");
});